package edu.cmsc611.textsimulator;

public class DCacheDataFormat {

		private int index;
		private int data;
		private boolean written;
		private int blocknum;

		DCacheDataFormat(int index,int data,boolean written,int blocknum)
		{
			this.index=index;
			this.data=data;
			this.written=written;
			this.blocknum=blocknum;
		}

		/**
		 * @return the index
		 */
		public int getIndex() {
			return index;
		}

		/**
		 * @param index the index to set
		 */
		public void setIndex(int index) {
			this.index = index;
		}

		/**
		 * @return the data
		 */
		public int getData() {
			return data;
		}

		/**
		 * @param data the data to set
		 */
		public void setData(int data) {
			this.data = data;
		}

		/**
		 * @return the written
		 */
		public boolean isWritten() {
			return written;
		}

		/**
		 * @param written the written to set
		 */
		public void setWritten(boolean written) {
			this.written = written;
		}

		/**
		 * @return the blocknum
		 */
		public int getBlocknum() {
			return blocknum;
		}

		/**
		 * @param blocknum the blocknum to set
		 */
		public void setBlocknum(int blocknum) {
			this.blocknum = blocknum;
		}


}
